package com.zb.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @Author: 张波
 * @Time: 2025/8/19 19:49
 */
@Configuration
@PropertySource("classpath:jdbc.properties")
@Data
public class DataSourceConfig {
	@Value("${jdbc.Driver}")
	private String driver;
	@Value("${jdbc.url}")
	private String url;
	@Value("${jdbc.userName}")
	private String username;
	@Value("${jdbc.userPassword}")
	private String password;
}
